<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <title>{cscms:title}</title>
    <meta name="Keywords" content="{cscms:keywords}" />
    <meta name="Description" content="{cscms:description}" />
    <link rel="shortcut icon" href="{cscms:path}favicon.ico" />
    <link rel="stylesheet" href="{cscms:webpath}packs/font/font.css">
    <link rel="stylesheet" type="text/css" href="{cscms:tempurl}css/user.css"/>
    <script type="text/javascript" src="{cscms:tempurl}js/user.js"></script>
</head>
<body>
    {cscms:head}
    {cscms:right}
    <div class="layui-tab layui-tab-card layui-tab-min" lay-filter="dt1" style="margin-top: 0px;margin-bottom: 0px">
        <ul class="layui-tab-title" >
            <li><a href="[user:url userlink=edit]">基本资料</a></li>
            <li class="layui-this"><a href="[user:url userlink=edit,logo]">修改头像</a></li>
            <li><a href="[user:url userlink=edit,pass]">修改密码</a></li>
            <li><a href="[user:url userlink=edit,open]">绑定同步</a></li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <form class="layui-form layui-form-pane" method="post" action="javascript:;" style="text-align: center;">
                    <div class="logo-box"><img id="ms-logo" src="[user:logo dir=logo]?<?=time()?>" alt=""></div>
                    <button type="button" class="layui-btn layui-btn-primary" id="pics"><i class="layui-icon colorb">&#xe608;</i>上传图片</button>
                </form>
            </div>
        </div>
    </div>
    {cscms:bottom}
    <script type="text/javascript">
        cscms.mode("cscms.getUpload('"+cscms_path+"index.php/user/edit/logo_save_json','pic','pics','jpg|jpeg|png|bmp|gif',2)");
    </script>
</body>
</html>